@headerHeight: 60px;
@toolbarWidth: 70px;

#workarea,
#toolbar,
#header {
  image-rendering: -webkit-optimize-contrast;
}

#toolbar {
  position: absolute;
  top: @headerHeight;
  left: 0px;
  width: @toolbarWidth;
  height: 100%;
  overflow: hidden;
  background-color: rgb(255, 255, 255);
  box-shadow: 5px 0px 10px 2px rgba(0, 0, 0, 0.1);
}

#icon {
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 70px;
  height: 70px;
}

#header {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: @headerHeight;
  overflow: hidden;
  box-shadow: 5px 0px 5px 2px rgba(0, 0, 0, 0.4);
  background-color: rgb(255, 255, 255);
}

#headerID {
  top: 0px;
  left: 0px;
  width: 180px;
  height: 100%;
  overflow: hidden;
  background-color: rgb(255, 255, 255);
  display: flex;
  align-items: center;
}

#headerID img {
  width: 180px;
  height: 70%;
}

html,
body {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

#workarea-container {
  position: absolute;
  top: @headerHeight;
  left: @toolbarWidth;
  overflow: hidden;
  height: 100%;
  width: 100%;
}

.mode-switch {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 5px;
  box-shadow: 0 4px 8px 0px rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  transition-timing-function: ease;
  transition-duration: 0.5s;
  background-color: white;
  background-image: url(../assets/circleA0.svg);
  background-position: center right;
  background-repeat: no-repeat;
  background-size: 50px 25px;
  height: 25px;
  width: 70px;
  margin: 3px 0px 3px 0px;

  position: relative;
  top: 5px;
  left: -20px;
}

.mode-switch:hover {
  box-shadow: 0 4px 8px 1.5px rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  transform: translateX(8px);
}

.mode-switch:checked {
  box-shadow: 0 4px 8px 1.5px rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  transform: translateX(15px);
}

.graphic-tagbox {
  user-select: none;
  // pointer-events: none;
}

.graphic-tag[dragging] {
  box-shadow: 0 0 10px 0.5px rgba(0, 0, 0, 0.2);
}

@icons: "move", "segment", "point", "circle", "line", "halfline", "intersection",
  "perpendicular", "parallel", "extensionLine", "angleBisector", "tangent", "perpendicularBisector", "midPoint", "circumcircle";

each(@icons, {
    #button-@{index} {
      background-image: url("../assets/@{value}.svg")
    }
  }

);